﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERPSystem.Common.BaseEntitys
{
    /// <summary>
    /// 审计字段
    /// </summary>
    public class BaseEntity
    {
        /// <summary>
        /// 创建人
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string CreatedOwnerId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public DateTime CreatedTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string UpdatedOwnerId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public DateTime UpdatedTime { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string DeletedOwnerId { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public DateTime DeletedTime { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public bool IsDeleted { get; set; }
        /// <summary>
        /// 审核员
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string Auditor { get; set; }
        /// <summary>
        /// 审核日期
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public DateTime AuditDate { get; set; }
    }
}
